<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no">
    <title>像素餐厅 - 巴塞罗那之味</title>
    <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css">
    <link href="https://fonts.googleapis.com/css2?family=Press+Start+2P&display=swap" rel="stylesheet">
    <style>
        :root {
            --pixel-primary: #E0C4A0;
            --pixel-accent: #8B4513;
            --pixel-border: #5C4033;
            --pixel-text: #2A180C;
        }

        body {
            margin: 0;
            font-family: 'Press Start 2P', cursive;
            background: repeating-conic-gradient(#D3C1B2 0% 25%, #C2B2A3 0% 50%) 50%/20px 20px;
            height: 100vh;
            display: flex;
            justify-content: center;
            align-items: center;
        }

        .game-container {
            width: 360px;
            height: 640px;
            position: relative;
            background: 
                linear-gradient(var(--pixel-primary), var(--pixel-primary)),
                repeating-linear-gradient(
                    90deg,
                    var(--pixel-primary),
                    var(--pixel-primary) 20px,
                    var(--pixel-accent) 20px,
                    var(--pixel-accent) 22px
                ) top / 100% 60px;
            border: 4px solid var(--pixel-border);
            image-rendering: pixelated;
        }

        /* 北边吧台 */
        .bar-counter {
            position: absolute;
            top: 20px;
            width: 100%;
            height: 60px;
            background: #E8E8E8;
        }

        /* 像素化NPC */
        .npc {
            position: absolute;
            width: 32px;
            height: 32px;
            animation: walk 4s linear infinite;
        }
        .npc i {
            font-size: 24px;
            color: var(--pixel-accent);
            text-shadow: 2px 2px var(--pixel-border);
        }

        /* 餐桌布局 */
        .dining-table {
            position: absolute;
            width: 40px;
            height: 40px;
            background: var(--pixel-accent);
            border: 2px solid var(--pixel-border);
        }
        .table-chair {
            position: absolute;
            width: 16px;
            height: 16px;
            background: var(--pixel-primary);
            border: 2px solid var(--pixel-border);
        }

        /* 南侧入口 */
        .entrance-sign {
            position: absolute;
            bottom: 20px;
            left: 50%;
            transform: translateX(-50%);
            text-align: center;
            font-size: 8px;
            color: var(--pixel-text);
        }

        @keyframes walk {
            0% { transform: translateX(0); }
            50% { transform: translateX(200px); }
            100% { transform: translateX(0); }
        }
    </style>
</head>
<body>
    <div class="game-container">
        <!-- 北边吧台 -->
        <div class="bar-counter">
            <div class="npc" style="left: 160px; top: 10px;">
                <i class="fa-solid fa-cash-register"></i>
            </div>
            <div style="position: absolute; top: -30px; left: 20px; width: 80%; height: 30px; 
                      background: var(--pixel-accent); border: 2px solid var(--pixel-border);">
                <i class="fa-solid fa-wine-bottle" style="color:#FFF; margin: 5px;"></i>
            </div>
        </div>

        <!-- 四套餐桌 -->
        <div class="dining-table" style="left: 60px; top: 100px;">
            <div class="table-chair" style="left: -20px; top: -10px;"></div>
            <div class="table-chair" style="right: -20px; top: -10px;"></div>
        </div>
        <div class="dining-table" style="right: 60px; top: 100px;">
            <div class="table-chair" style="left: -20px; top: -10px;"></div>
            <div class="table-chair" style="right: -20px; top: -10px;"></div>
        </div>
        <div class="dining-table" style="left: 60px; top: 250px;">
            <div class="table-chair" style="left: -20px; top: -10px;"></div>
        </div>
        <div class="dining-table" style="right: 60px; top: 250px;">
            <div class="table-chair" style="right: -20px; top: -10px;"></div>
        </div>

        <!-- 移动的服务员 -->
        <div class="npc" style="left: 80px; top: 200px;">
            <i class="fa-solid fa-person-walking" style="color:#FF5555;"></i>
        </div>

        <!-- 南侧入口 -->
        <div class="entrance-sign" onclick="showSpecial()">
            <i class="fa-solid fa-sign-hanging"></i>
            <div>Today's Special!</div>
        </div>
    </div>

    <script>
        function showSpecial() {
            alert('🌟 今日特惠：\n海鲜饭套餐送甜点！');
        }
    </script>
</body>
</html>